package com.xo.user.convert;

import com.xo.common.pojo.dto.req.RegisterDto;
import com.xo.common.pojo.entity.SysUserEntity;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import org.springframework.security.core.userdetails.User;

@Mapper(componentModel = "spring")
public interface LoginConvert {

    LoginConvert INSTANCE = Mappers.getMapper(LoginConvert.class);

    SysUserEntity RegisterDtoToSysUserEntity(RegisterDto dto);

}
